package TestExtentd;

public class Memory {
    int capacity;
    String type;
    Memory(int capacity, String type){
        this.capacity = capacity;
        this.type = type;
    }
    int getCapacity(){
        return capacity;
    }
    String getType(){
        return type;
    }
    void store (){
        System.out.println("内存运作正常");
    }
}
